//
//  PGContentView.h
//  TapContent
//
//  Created by Pill Gong on 14-4-18.
//  Copyright (c) 2014年 Pill Gong. All rights reserved.
//


/**
 
 UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 50, 60, 40)];
 label.text = @"LABEL";
 label.backgroundColor = [UIColor redColor];
 label.textAlignment = NSTextAlignmentCenter;
 [self.view addSubview:label];
 
 PGContentView *contentView = [[PGContentView alloc] init];
 contentView.subView = label;
 contentView.delegate = self;
 
 **/




#import <UIKit/UIKit.h>

@class PGContentView;

@protocol PGContentViewDelegate <NSObject>

- (void)contentViewTouchUpInside:(PGContentView *)contentView;

@end

@interface PGContentView : UIView

@property (nonatomic, assign) id<PGContentViewDelegate> delegate;

@property (nonatomic, strong) UIView *subView;

@property (nonatomic, strong) UIColor *highlightColor; // 高亮颜色
@property (nonatomic, assign) CGFloat cornerRadius; // Default 5
@property (nonatomic, assign) CGFloat lateralPadding; //横向
@property (nonatomic, assign) CGFloat verticalPadding; //纵向

@property (nonatomic, assign) BOOL responseTap;

@end
